package org.example.erpapiservicespringmongoimpl.mapper;

import org.example.erpapicommon.model.SimpleCategory;
import org.example.erpapicommon.model.SimpleSupplier;
import org.example.erpapicommon.model.Supplier;
import org.example.erpapiservicespringmongoimpl.doc.SimpleSupplierDoc;
import org.example.erpapiservicespringmongoimpl.doc.SupplierDoc;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface SupplierMapper {
    List<SimpleSupplier> fromSimpleListDoc  (List<SupplierDoc> entities);
    List<Supplier> fromListDoc  (List<SupplierDoc> entities);
    List<SimpleSupplier> fromSimpleSupListDoc  (List<SimpleSupplierDoc> entities);
}
